package com.example.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author example.process
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Monitor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 监控id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 员工id 
     */
    private Integer staffid;

    /**
     * 进程名
     */
    private String processname;

    /**
     * 使用时间戳差
     */
    private long usetime;

    /**
     * cpu占用率
     */
    private Float cpu;

    /**
     * 进程pid
     */
    private Integer pid;

    /**
     * 开始时间戳
     */
    private long starttime;
@TableField(value = "checkTime")
    private LocalDateTime checktime;
private String picture;


}
